package com.yic.module.mes.controller.admin.processrouteinfo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;
import com.yic.framework.excel.core.annotations.DictFormat;
import com.yic.framework.excel.core.convert.DictConvert;


/**
 * 工艺路线详细配置 Excel VO
 *
 * @author 系统管理员
 */
@Data
public class ProcessRouteInfoExcelVO {

    @ExcelProperty("序号")
    private Long id;

    @ExcelProperty("工艺路线")
    private Long routeId;

    @ExcelProperty("当前工序")
    private Long processId;

    @ExcelProperty("下道工序")
    private Long nextProcessId;

    @ExcelProperty("顺序")
    private Integer subsequence;

    @ExcelProperty(value = "与下道工序关系", converter = DictConvert.class)
    @DictFormat("mes_process_link") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer link;

    @ExcelProperty(value = "是否为关键工序", converter = DictConvert.class)
    @DictFormat("system_integer_status") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer mainProcess;

    @ExcelProperty("备注")
    private String remark;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
